package com.ymk.core.constants;

import org.apache.velocity.runtime.directive.contrib.For;

public class WxConstants {



    /**
     * 获取临时二维码
     */
    public static final String CREATE_QRCODE_URL = "https://api.weixin.qq.com/wxa/getwxacodeunlimit";

    /**
     * 支付
     */
    public static final String WX_PAY_URL = "http://api.weixin.qq.com/_/pay/unifiedorder";

    /**
     * 查询订单干
     */
    public static final String QUERY_WX_PAY_URL = "http://api.weixin.qq.com/_/pay/queryorder";

    /**
     * 获取会员信息
     */
    public static final String WX_USER_INFO_URL = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=%s&openid=%s&lang=zh_CN";


    /**
     * 云托管openID
     */
    public static final String X_WX_OPENID = "X-WX-OPENID";

    /**
     * 云托管环境id
     */
    public static final String X_WX_ENV = "ymk-community-3g3m9sm8a3fa5713";

    /**
     * 云托管环境ip
     */
    public static final String X_ORIGINAL_FORWARDED_FOR = "X-Original-Forwarded-For";


    /**
     * 校验返回值
     */
    public static final String RESPONSE_SUCCESS = "ok";




}
